/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.unindra.company.dao.intrf;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import edu.unindra.company.dao.entity.Empl;

/**
 * 
 * @author fendi
 */
public interface EmployeeInterf {

	int delete(int nim) throws SQLException;

	int insert(Empl empl) throws SQLException;

	int update(Empl empl) throws SQLException;

	List<Empl> getUser() throws SQLException;

	List<Empl> getReport(String addWhere) throws SQLException;

	ResultSet cetakNim(String nim) throws SQLException;

	Empl getUser(String nim) throws SQLException;

	ResultSet cetakReport(String addWhere) throws SQLException;

}
